package com.mybatis.model;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2018/4/10.
 */
public class Test {

    private Integer id;

    private Integer nums;

    private String name;

    private Boolean success;

    public Test(Integer id, Integer nums, String name,Boolean success) {
        this.id = id;
        this.nums = nums;
        this.name = name;
        this.success = success;
    }

    public Test() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    @Override
    public String toString() {
        return "Test{" +
                "id=" + id +
                ", nums=" + nums +
                ", name='" + name + '\'' +
                ", success='" + success + '\'' +
                '}';
    }
}
